cmake_minimum_required(VERSION 2.8)
project(Authentication)

set(CMAKE_CXX_STANDARD 11)

SET(CMAKE_C_FLAGS_DEBUG "-D_DEBUG")

SET(CMAKE_CXX_FLAGS_DEBUG "-D_DEBUG")

SET(CMAKE_CXX_FLAGS "-std=c++11 -O2 -Wall -s -fPIC -D_GLIBCXX_USE_NANOSLEEP=1 -g -fexceptions -fpermissive -fmessage-length=0 -pipe ${CMAKE_CXX_FLAGS}")

include(CMake_global_property.txt)

add_executable(authentication main.cpp algorithm/md5.cpp algorithm/md5.h algorithm/aes_impl.c algorithm/aes_impl.h algorithm/aes.cpp algorithm/aes.h
        tool/machine_info.cpp tool/machine_info.h tool/INIParser.cpp tool/INIParser.h)#tool/gpu_info.cpp tool/gpu_info.h)

 # target_link_libraries(Authentication nvidia-ml)